
<div>
    <h2><span data-translate="gatewayApp.category.detail.title">Category</span> {{vm.category.id}}</h2>
    <hr>
    <jhi-alert-error></jhi-alert-error>
    <dl class="dl-horizontal jh-entity-details">
        <dt><span data-translate="gatewayApp.category.name">Name</span></dt>
        <dd>
            <span>{{vm.category.name}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.category.image">Image</span></dt>
        <dd>
            <span>{{vm.category.image}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.category.description">Description</span></dt>
        <dd>
            <span>{{vm.category.description}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.category.displayOrder">Display Order</span></dt>
        <dd>
            <span>{{vm.category.displayOrder}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.category.langKey">Lang Key</span></dt>
        <dd>
            <span>{{vm.category.langKey}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.category.parent">Parent</span></dt>
        <dd>
            <a ui-sref="category-detail({id:vm.category.parentId})">{{vm.category.parentName}}</a>
        </dd>
    </dl>

    <button type="submit"
            ui-sref="{{ vm.previousState }}"
            class="btn btn-info">
        <span class="glyphicon glyphicon-arrow-left"></span>&nbsp;<span data-translate="entity.action.back"> Back</span>
    </button>

    <button type="button" ui-sref="category-detail.edit({id:vm.category.id})" class="btn btn-primary">
        <span class="glyphicon glyphicon-pencil"></span>
        <span class="hidden-sm-down" data-translate="entity.action.edit"> Edit</span>
    </button>
</div>
